import React ,{ Component }from "react";
import {Text, View, StatusBar, ScrollView} from "react-native";
import {connect} from "react-redux";
import {Actions} from "react-native-router-flux";
import NavigationComponent from "../../components/NavigationComponent";

class College extends Component{
    constructor(props){
        super(props)
    }
    render(){
        return(
            <View>
                <NavigationComponent title={"商学院"}/>
                <View style={{borderWidth:1,borderColor:'#999',padding:20,width: 300}}>
                    <Text style={{fontSize:32}} onPress={Actions.CommonProblem}>常见问题</Text>
                    <Text style={{fontSize:32}} onPress={Actions.NewTrain}>新人课堂</Text>
                    <Text style={{fontSize:32}} onPress={Actions.MarketCourse}>营销教程</Text>
                    <Text style={{fontSize:32}} onPress={Actions.SystemTrain}>系统培训</Text>
                </View>
            </View>
        )
    }
}

export default connect(
    (state) => {
        return {
        }
    },
    (dispatch) => ({
    })
)(College)
